Create ExponentialFunction.java

/** The program calculates the exponential function e^x where x is a value
 *  input by the user of the program.
 */