Implement Dda Algorithm In Python