Create vartree.cpp