Exercises from Big Nerd Ranch Guide. Changes from the book are my own syntactical preferences