Refactored tests, renamed the getNextWorld to generateNext, added some javadocs for the classes, cleaned up the code a bit