Solves of many popular algorithm problems in Ruby