In maze, we don't need the 'extension_made' state variable, just check if there are paths.