HashMap: basic API implementation done