Bresenham line iterator