Week_2 solution of hw2-2