implemented the evaluator for relational operators