Move basic printing macros to another file
Add file closing functionality
Update str_to_dec to return on encountering non-integer character
Update data file, make open_file a function, save state of registers