Create countPaths.cpp