Put all of the unique tags into a map with their appropriate indexes