add some more comments
fix test output
add newline after solver cout