Compound interest and deposits