statementPrinter finally prints out a statement of all the transactions that belong to an account