An implementation of a simple hash table in ruby