You are given a two-dimensional integer array matrix. Determine whether it is a Toeplitz matrix: a matrix where every diagonal running from the top-left toward the bottom-right holds the same value all the way along.
Note that a matrix with a single row or a single column is always a Toeplitz matrix, since none of its cells have a diagonal neighbor to compare against.