circle based on bresenham's formula