public static void nodesToString(Node[][] nodes,BufferedWriter out) throws IOException{
		String s=""+NEWLINE;
		Node node=findConnectedNode(nodes);
		Node node2=node;
		s+=node.symbol.value+","+node.constraint.value+NEWLINE;
		out.write(s);
		s="";
		do{
			node2=node2.right;
			if (node2.connected)
				s+="\t"+node2.constraint.value;
		} while(!node2.equals(node));
		s+=NEWLINE;
		out.write(s);
		s="";
		do{
			node2=node2.down;
			if (node2.connected)
				s+="\t"+node2.symbol.value;
		} while(!node2.equals(node));
		s+=NEWLINE;
		out.write(s);
		s="";
		do{
			node2=node2.right;
			Node node3=node2;
			do{
				node3=node3.down;
				s+="\t"+node3.symbol.value;
			} while(!node3.equals(node2));
			s+=NEWLINE;
			out.write(s);
			s="";
		} while(!node2.equals(node));
		s+=NEWLINE;
		out.write(s);
		out.flush();
	}