ATM simulation made in Java