Update bank.cpp

Finished implementation based of last year's code.