Created and wrote inverted_string.py