fixed output to soln.txt