solution to daily kata exercise