Refactor printing code to support additional output separators and terminators
Support semicolon separators in PRINT statement