Fixed typos in code example: tree -> root