added hashmap implementation
add test cases for primitive and complex javascript types