NetHack 2.2a/mkmaze.c