allow to dump the tree to stdout for debugging purposes
added a small example to help debugging the rbtree library