Added undoTurn implementation (a few small bugs left). Adresses #35.