int Hash(const Name & nn) // preconditon: 0 < nn.length() // postcondition: returns hash value of nn { return (nn[0] + nn[nn.length()-1]) % SIZE; }