TEKsystems Interview Question

Write a code to simulate maze runner