How To Reverse A String Using Python Dictionaries