draw methods for ellipse and rectangle implemented