Fixed chapter 3 exercise 2. Didn't read the instructions well enough the first time.