Working on Homework 2