code: func PrunePrefixes(prefixes []string) []string {
  	prunedPrefixes := []string{}
  	for i := 0; i < len(prefixes); i++ {
  		foundPrefix := false
  		for j := 0; j < len(prefixes); j++ {
  			if i == j {
  				continue
  			}
  			if strings.HasPrefix(prefixes[i], prefixes[j]) {
  				foundPrefix = true
  			}
  		}
  		if !foundPrefix {
  			prunedPrefixes = append(prunedPrefixes, prefixes[i])
  		}
  	}
  	return prunedPrefixes
  }
docs: // PrunePrefixes will return all the top level prefixes from a given list
  // so that any enumerate on these prefixes will not end up returning duplicate keys