Programming assignment 2: hope this really was as easy as it seemed