Some improvements in the solutions.