assignment 2 task 1