Bank account using object oriented design