Assignment 3 for Inf1340, Fall 2014, UofT