updated comments on the code of ellipse and rectangle, and the gists in github