certificateOfDeposit class as autogenerated by netbeans
fix typo in printStatement
implement certificateOfDeposit class