moved reconstruct tree algo to another folder