code: def get_account_from_name(self, name):
          
          for account in self.accounts:
              if account.get_name() == name:
                  return account
          return None
docs: Returns the account with the given name.
  
          :type  name: string
          :param name: The name of the account.