Philip Tan - Problem Set #6
Source code