added rehash() to HashMapChained