Create printpathsintree.cpp