public boolean search(String word) {
		boolean res = true;
		char[] arr = word.toCharArray();
		TrieNode next = this.root;
		for (int i=0;i<arr.length;i++){
			TrieNode child = next.getChild(arr[i]);
			if( child!=null){
				next = child;
			}else{
				res = false;
				break;
			}
		}
		if( res && !next.isWord)
			res = false;
		return  res;
	}