initial solution
python hash map implementation