Changed the program for simple interest