solutions to various codewars.com challenges