Niantic interview question

Given a matrix, generate a path from one point to another.