some exercises from codewars