Create allSubstrings.py