classes for representing dependency parse trees