Add a solution for problem 0005