Bank Account program written in class