A simple java implemented piggy bank