a simple java app that calculates the predent value of a bond