Programming Assignment 2, #2