Philip Tan - Problem Set #8
Source code