Create 072014-CountSubstrings.cpp

http://www.codechef.com/JULY14/problems/CSUB