Niantic Interview Question

Modify a matrix with a 2D square "filter"