CodeWars entries in Ruby