Simulation of an automatic cashier that can perform functions such as withdraw, check balance and send a bank draft