fixed a number of a problem in the brief description of the problem no.5
added the solution of problem no.6