runnable code. Please run "Tester.java"