My Algorithms studies in Ruby