compound interest solution