Updated homework1