Added chapter2 page 18 example