final hw2 with notes