public Word get(Word word){
       Node current = root;
      while (current != null){
         int d = current.data.compareTo(word);
         if (d == 0)
             return (Word) current.data;
         else if (d > 0)
             current = current.left;
         else
             current = current.right;
      }
      return null;
   }