Do the assignment2.