Google Interview Question

Code a maze and solve it