Added debug output to simplifySolution to match other simplifySolution output
New logging functionality, code review feedback