Added Pattern::operator==. Added additional checks for isLegalPattern.
Added Patterns::addPattern. Eliminated deleting patterns from Patterns::mutate (newly mutated ones can override the other ones). Fixed a debug problem in Patterns::getMove.
Added arguments in TestPatterns for the input file, number of trials, and output data file.