added several procedures to print
added several macros for dealing with i/o
added several aliases for stream i/o
added test for the new macros in print