Coding Kata Eight solution.