Simulate a bank account supporting opening/closing, withdraws, and deposits of money. Watch out for concurrent transactions!