Solution for router chapter.