public static void printArray(Object[][] firstD) {
		try {
				
			int rows = firstD.length;
			int columns = firstD[0].length;
			String str = "|\t";

			for (int i = 0; i < rows; i++) {
				for (int j = 0; j < columns; j++) {
					str += firstD[i][j] + "\t";
				}

				System.out.println(str + "|");
				str = "|\t";
			}

		} catch (Exception e) {
			System.out.println("Matrix is empty!!");
		}
		System.out.println();
	}