Now forming lines on all sides of the square. The problem was
slope for the vertical lines was being rounded off to 0. I
implemented a new method that usese subtraction rather than
division that offers more precision.