Ruby programs from the book