Homework #4 for 2014 Spring GameDev class