Programming Assignment 2 Version2