A simulator of ATM