Basic classes for Binary Trees in Java