add hw2 problem 1-2
add hw2 problem 1-2