Worked on the buildTree algroithm at Corbin's place.