homework 1 exercise 1