Changed the implementation to use an unordered_map instead of a map
removed an unused include