Refactored for two styles of toString() conversion: (write) and (display). Added (display) and (newline) procedures.