Chapter 2 of Eloquent Ruby - notes & code