Some example data structure implementations in Ruby