TP3 Doc: Three Solutions and printing results in output file