maze traversal coding challenge