Java application that simulates an ATM machine