public int Score()
 {
     return(patternManager.Evaluate(next));
 }