Added macro XFDBG (printf + debug information).
Added macros to debug dynamic memory allocation
(malloc/realloc/free wrappers).