Bank account system written in C++