Homework-5, problem 2 is added.