My attempt at solutions of the rubykoans