Changed unordered_map to vector, chaged brackets style