Added documentation and comments for complex code
Merge branch 'master' of https://github.com/CameronProbert/SWEN222Project.git