preparing btree

* moved generic functions and definitions to mystd.h
* btree and btree_node structs (+static storage)
* using -Wall