added the solution of problem no.3
added the solution of problem no.4
added the solution of problem no.5