Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I don't know if you solved this in the end, but it looks like you're swapping the first and second characters before doing the ascii conversion. It's only the second and the final character of each word that needs swapping.
Based on the fact you seem to have the correct final letter, I'm going to assume you're swapping the second with the last, then swapping the first with the second, then turning the first into its ascii code.
you have to SWITCH the second and last position elements
you are messing up with the ASCII conversion and also you aren't removing the second element after moving it to the end