Added datastructure problems in Ruby