Homework 2 assignment