slight progress on grow wrapper
added subroutine to count number of nodes in tree
added more debugging code to grow wrapper