Added a toString to Tree for ease of debugging.