Homework-2, problem 6 is added.