Merge pull request #34 from antma/master

improve code's style modications
Fixed CE. Fixed tree.h to use talloc
realloc->trealloc
enhance portability (replace void* by char*)
When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1.