Write a method to add/subtract two matrices. The header of the method is as follows:
public static double[][] addMatrix(double[][] a, double[][] b or public static double[][] subtractMatrix(double[][] a, double[][] b
In order to be add/subtract, the two matrices must have the same dimensions and the same or compatible types of elements.