added logging module to replace print statements

let me know if you need anything on this. can find me on irc.freenode.net#nethack as needed