Created an ATM program in java