Solution for
http://chimera.labs.oreilly.com/books/1234000000726/ch02.html
Solution for http://chimera.labs.oreilly.com/books/1234000000726/ch03.html
solution for 4_1 http://chimera.labs.oreilly.com/books/1234000000726/ch04.html