impl isSymmetrical for two-dimensional array