Finalized activity 14 program with recursive factorial method and
exponential function.