my own bank account project with inheritance