A simple java calculator