Added TurtleDemoState::isEqual for undo