A Sample Program for ATM Simulation