Create Array From Array To Hashmap In Cpp