Added undo function
Merge branch 'master' of https://github.com/cs2103-t10-4j/main