Added tree printer