dded the function to calculate compound interest.
Added the refernce to compound interest to access control.
Added a call to compound interest in the program.