Implement methods:
public final Optional<K> minKey();
public final Optional<K> maxKey();
public final <W> Tree<K, W> mapPartiali(final BiFunction<K, V, Optional<W>> f);

along with tests for mapPartial().

Plus some other small improvements.