Added printwriter to addressprinter class