A couple of solutions of the rubymonk exercises.