Add a solution to the problem 62
Minor changes