Wrote Tree::findSpot() method