Fixed Chapter 6 exercise 2: double was supposed to exclude 1.0