added solution for hw1 problem 5
added solution for hw1 problem 5