Datastructures in Ruby