Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders.