finding equations of circle with 3 points