reversed strings codewars python