Create substring.cpp