My sample solution to Assignment 5 of the Winter 2014 COMP1405 Course