code: func Edits1(word string) []string {
  
  	splits := []Pair{}
  	for i := 0; i <= len(word); i++ {
  		splits = append(splits, Pair{word[:i], word[i:]})
  	}
  
  	total_set := []string{}
  	for _, elem := range splits {
  
  		//deletion
  		if len(elem.str2) > 0 {
  			total_set = append(total_set, elem.str1+elem.str2[1:])
  		} else {
  			total_set = append(total_set, elem.str1)
  		}
  
  	}
  
  	// Special case ending in "ies" or "ys"
  	if strings.HasSuffix(word, "ies") {
  		total_set = append(total_set, word[:len(word)-3]+"ys")
  	}
  	if strings.HasSuffix(word, "ys") {
  		total_set = append(total_set, word[:len(word)-2]+"ies")
  	}
  
  	return total_set
  }
docs: // Edits1 creates a set of terms that are 1 char delete from the input term