static	double[][] floydWarshall2(double[][] mAdy){
		int N; double[][] res = new double[N=mAdy.length][N];
		for(int i=0;i<N;i++)for(int j=0;j<N;j++)res[i][j]=mAdy[i][j];
		for(int k=0;k<N;k++)
		for(int i=0;i<N;i++)
		for(int j=0;j<N;j++)
		if(res[i][k]<Double.MAX_VALUE&&res[k][j]<Double.MAX_VALUE)
		res[i][j]=Math.min(res[i][j],res[i][k]+res[k][j]);
		return res;
		}