the current edit for the python code

works when run with "Suswa_simple.txt" file, which is in the text files folder.