assignment 2 homework