Fixed a problem with randomPatterns goodMoves being in incorrect locations. Added a check for randomPatterns to make sure that they are legal patterns that could actually show up. Changed PatternEvolution to save out the best pattern every 10 generations.