Changed hash_map and hash_set to unordered_map and unordered_set