Some cool coding challenges solved in ruby.