Exercises from Chapter 2 of CoffeeScript book.