Implemented undo, allowing multiple components of drawings, and clear. Answer point holds a point with info about whether it is an endpoint to allow for reproducing drawings with multiple unconnected components.