public static TreeMap<Integer, Integer>  stringToTree(String s)
	{		
		TreeMap<Integer, Integer> tree = new TreeMap<Integer, Integer>();
		 
		 StringTokenizer tokenizer = new StringTokenizer(s);
		 
		 while (tokenizer.hasMoreTokens()) {
			 Integer token = Integer.parseInt(tokenizer.nextToken());
			 Integer token1 = Integer.parseInt(tokenizer.nextToken());
			 
			 tree.put(token,token1);
	     }
		 
		 return tree;
	}