Added an ast file and functions to traverse the cst and add branch and
leaf nodes to the ast