create naive bfs of maze solver