added exception to handle incorrect input parameters
fixed sorting of circles before drawing eps