created for Programming Assignment 2
all changes made