Microsoft Interview Question

create maze and solve it.