codewars encode/decode cards