A study of data structures and algorithms in Ruby