Made new pattern check for DoubleBack numbers. eg( 1,2,1,2,1,2,1,2)
put in check to be used correctly with heirarchy for which patterns are to be used if the AI knows they exist.