program to automatically play nethack