public static void matrixadd(int x[][], int y[][]) {
		if (x.length != y.length) {
			System.out.println("Addition Not Possible");
		} else {
			int z[][] = new int[x.length][x[0].length];
			for (int i = 0, k = 0; k < y.length; i++, k++) {
				System.out.print("\n");
				for (int j = 0; j < x[i].length; j++) {
					System.out.print(x[i][j] + "  ");
				}

				System.out.print("    ");
				for (int j = 0; j < y[k].length; j++) {
					System.out.print(y[i][j] + "  ");
				}
			}

			for (int i = 0; i < x.length; i++) {
				System.out.print("\n\t");
				for (int j = 0; j < x[i].length; j++) {
					z[i][j] = x[i][j] + y[i][j];
					System.out.print(z[i][j] + "  ");
				}

			}
		}
	}