second version of Brezenham building circle algorithm