draw ellipses using middle point algorithms.