public JunctionData(int nodeID, MOVE firstMove, int nodeStartedFrom, int[] path, MOVE lastMove) 
	{
		this.nodeID = nodeID;
		this.nodeStartedFrom=nodeStartedFrom;
		this.firstMove = firstMove;
		this.path = path;
		this.lastMove = lastMove;
		
		if(path.length>0)
			this.reversePath = getReversePath(path);
		else
			reversePath=new int[]{};
	}