https://videosashka.com/watch/ySfk1bBdZK8/implementing-a-drawing-game-bresenham-s-algorithm