maze.c: improved readability