Dda Line Drawing Algorithm In Python