made a simple bank account class and learned simple inheritance