Create substring.py