lots done. still need to work on reading vals out of the tree and printing to file