Cormen datastructures implemented in ruby