assignment number 2 in CS2010