Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. If there is a center element, do not to count it twice.