exercise 1: a good first program