Drawing a line by pixels (Bresenham).cpp