Java program bank account transaction