Evaluation of the algorithm and show the result