add HashMap (py version)