Solution Programming Assigment2