made some updates to the GUI and did some major brain processing on the algorithm, which I've stuck in a copy of the pokemon grid class