HW 3 for 2014 gamedev class