public static void main(String[] args) {
		
		// Skapar värden
		int n = (new Random().nextInt(10)+1);
		int m = (new Random().nextInt(10)+1);
		int [] NtoY = new int[n];
		int [] XtoM = new int[m];
		int [][] vagar = new int[m][n];		
			for(int i = 0; i < m; i++)
			{
				XtoM [i] = (new Random().nextInt(10)+1);
					for(int i2 = 0; i2 < n; i2++)
					{	
						vagar[i][i2] =  (new Random().nextInt(30)+1);
					}
			}	
			for(int i = 0; i < n; i++)
				NtoY[i] = (new Random().nextInt(10)+1);	
			
			// Utför beräkning 
			berakning(m, n, NtoY, XtoM, vagar);
	}