Exercise 2-1 ranges