Added the solution to the 'Basic reduce' lesson.