1. You need a java compiler to run this program. 
 
2. To compile, type javac *.java

3. To run the program, type java Main

4. Alternatively, you can run the program using java Detached
This gives a version where the windows are detached.

5. The program works best with a 3 button mouse.