implementing class circle