Implemented difficulty support in the Generator.java class.
Added GeneratorTester.java class, used to test the generator.