Simple banking simulation in java