Made debug function

Incorporated ideas from Stony Brook; there is a debug sniffer (ADDR:
DEB6) which will be the main console for any output. Wrote a Debug
function, which has yet to be debugged (no pun intended).