Completed Programming Assignment 2 file