     wordList.append(w)
     wordCount += 1
     return (w, true)
+  }
+
+  /*
+    Function Name:  insertWords
+    Input:  [String]
+    Output:  ([String], Bool)
+    Functionality:  attempts to insert all words from input array.  returns a tuple containing the input array and true if some of the words were succesffuly added, false if none were added
+  */
+
+  func insertWords(wordList: [String]) -> (wordList: [String], bool: inserted){
+
+    var successful: Bool = false
+    for word in wordList {
+      succesful |= self.insert(word).inserted
+    }
+
+    return(wordList, succesful)
   }
 
   /*

      currentNode = child
      length -= 1
      index += 1
      c = Array(word.characters)[index]
    }

    print(length)
    let remainingChars = String(word.characters.suffix(length))
    for c in remainingChars.characters {
      currentNode.children[String(c)] = Node(c: String(c), p: currentNode)

    for word in wordList {
      self.remove(word)
    }
  }


