write comments for all methods
Merge branch 'master' of https://github.com/AndrewWUw/cs9318.git