Programming Assignment 2 First Attempt