Data structures implemented in ruby