Exercises from Scott Murray's book: http://chimera.labs.oreilly.com/books/1230000000345