edited main to test save and load tree
to test save and store