add Algo interface, and make several algorithms implement it, facilitating the monitoring of their execution.
clean up test cases (remove unwanted console displays)