Philip Tan - Problem Set #5
Source code