Homework-2, problem 3 is added.