Reverse String Using Array In Python