Data structures in ruby