This code simulates an ATM machine