The BankAccount class now keep track of the transaction history.