American Option Calculation using Java Applet