ATM State machine with State Pattern (Java)