Simplified the Bresenham's line drawing function (all octanes)