input: Write a function to simulate a simple ATM machine. The function should include an Account class with functions to deposit and withdraw funds, and an ATM class with functions to create an account, deposit money, withdraw money, and print the balance. The function should also include the necessary asserts to test the functionality.
  assert simulate_atm() == None
  assert simulate_atm().deposit("Alice", 100) == None
  assert simulate_atm().withdrawal("Alice", 50) == None
  assert simulate_atm().printBalance("Alice") == None
output: def simulate_atm():
      class Account:
          def __init__(self, name):
              self.name = name
              self.balance = 0
          
          def deposit(self, amount):
              self.balance += amount
          
          def withdraw(self, amount):
              if amount <= self.balance:
                  self.balance -= amount
          
          def get_balance(self):
              return self.balance
      
      class ATM:
          def __init__(self):
              self.accounts = {}
          
          def create_account(self, name):
              if name not in self.accounts:
                  self.accounts[name] = Account(name)
          
          def deposit(self, name, amount):
              if name in self.accounts:
                  self.accounts[name].deposit(amount)
          
          def withdrawal(self, name, amount):
              if name in self.accounts:
                  self.accounts[name].withdraw(amount)
          
          def printBalance(self, name):
              if name in self.accounts:
                  return self.accounts[name].get_balance()
      
      return ATM()