simple interest solution