leetcode 766. Toeplitz Matrix - use definition based on general element

Published --