public void search2(String s, TrieNode n){
			TrieNode curr=n;
			while(curr!=null){
				
				for(int i=0;i<s.length();i++){
					if(curr.getNode(s.charAt(i))==null && s.charAt(i)!='.')
						return;
					else if(curr.getNode(s.charAt(i))!=null && s.charAt(i)!='.'){
						curr=curr.getNode(s.charAt(i));
						System.out.print(curr.data);
					}
					else //if(curr.getNode(s.charAt(i))==null && s.charAt(i)=='.')
					{
						System.out.println("\r\n");
						for(TrieNode tmp:curr.children){
							System.out.print(tmp.data);
						}
						System.out.println("\r\n");
						for(TrieNode tmp:curr.children){
							search2(s.substring(i+1,s.length()),tmp);
						}

					}
				}
				
				if(curr.marker==true){
					return;
				}
			}
		}