fixed printing piece. now the solution looks prettier.