[maze] added navigation and collision detection