Initialize tree in preparation for tree drawing