An emulator working of ATM machine