Assignment 2 for SOEN387 2013