created circle and rectangle object and found the area