using map to store ID and index
Merge pull request #7 from MensEtManus/fast_version

using map to store ID and index