little performance boost with stringbuilder
pertty print solver output