a simple java program