Write a method isSymmetric that takes an Array<IntArray> and returns
true if and only if it is
symmetric.
You may assume that the passed array has at least 1 row.
For this problem we're expecting only a method.Don't define a class, include modifiers like static or public, add import statements, or add code outside the method declaration.