Issue #77: Moved logging to Algorithm.java