add to_s method for tree to print in order