fun undo(): Unit
Reverses the last change to the parts. It is possible to undo all the changes done from the initial state.