Updated homework 1