Added solution for problem #15. It's not so fast in Ruby but it works
Merged from origin master