Added method for checking if the matrix is magic square