A Java Tree Graph Implementation