
This program requires a java compiler to run.  I usually
run it from an Xterminal on my macbook pro laptop.  If
you don't have a mac, I don't know exactly how you run it.
But, here's what I do.

First, I compile the program, using the command

javac *.java

Second, I run it using the command

java Main

That's all.  