Final version of Homework 2 before submission