CSC207 Supplemental Problem 2 Code