finished week3-assignment2