Refactor of printCurrentSol and moved currsol into the instance, outside of the solver