Create Trainer.java

First sketch of a genetic algorithm to optimize the AI weights.
Still has some errors in there... .