Microsoft interview question

solve a maze puzzle game