The solution for Kata 1