Homework-7, problem 2 is added.