as_vlmc.ctx_tree_cpp function

Convert an object to a Variable Length Markov Chain (VLMC)