implements redo for circle and ellipse

This solves the issue #113.