Amended parseBoard to include filter to patternToTest