ATM written in Java