Data source: http://rosettacode.org/wiki/Bitmap/Midpoint_circle_algorithm