programming assignment 2

done with the changes