added the pseudocode for Evaluator