finished TreeBot AI part 2