String Reverse Using Array In Latex