two katas from codewars.com