add hash_table implementation in Python