Added java code for the applet

Ben, this is what you’ll need to work on. Don’t worry about getting it
to work with node.js, I will do that