Assignment 2 for Inf1340, Fall 2014, UofT