public int getNeighboursNumberConnection(Node n)
	{
		int counter = 0;
		ArrayList<Node> n_neighbours;
		ArrayList<Node> t_neighbours;

		n_neighbours = n.getToNode();
		
		for(Node t : n_neighbours )
		{
			t_neighbours = t.getToNode();
			
			for(int i=0;i<t_neighbours.size();i++)
			{
				Node current = t_neighbours.get(i);
				if(n_neighbours.contains(current))
					counter++;
			}
		}

		
		return counter;
		
		
	}