Create DifferentSubstrings.cpp