input: Write a function to simulate a simple ATM machine using the provided Account and ATM classes. The function should handle the following operations: create a new account, deposit money into an account, withdraw money from an account, and print the balance of an account.
  
  def simulate_atm():
      atm = ATM()
      atm.createAccount("Alice", 1000)
      atm.deposit("Alice", 500)
      atm.withdrawal("Alice", 200)
      atm.printBalance("Alice")
  
  assert simulate_atm is not None
  assert atm.accounts[0].balance == 1300
output: def simulate_atm():
      atm = ATM()
      atm.createAccount("Alice", 1000)
      atm.deposit("Alice", 500)
      atm.withdrawal("Alice", 200)
      atm.printBalance("Alice")