tree: start ncurses implementation
lib: add C++ compatibility code to external header
tree: start over in C++
redo: add g++ support
source files: modify header again