Tested a dummy maze, works perfectly