step1 create tree