Katas solutions from codewars.com