assignment 1 for cs3790 2014