Homework 1: Bresenham's Line Algorithm