placed print statements in if statements
Merge branch 'master' of https://github.com/AprilYu/CS124PA6