Programming Assignment2 completed