Exercises from Marijn Haverbeke's book, Eloquent Javascript.