Just Another TSM implementation in Python using WFA (WaveFront Algorithm) and Moore Neighborhood
https://towardsdatascience.com/depth-breath-first-search-matrix-traversal-in-python-with-interactive-code-back-to-basics-31f1eca46f55
and
https://www.cs.tufts.edu/comp/150IR/labs/wavefront.html