cs2010 lab assignment 1