Patch 1

Hi, added DEBUG-Macros for easier enabling or disabling debugging. There is a typo in line 57
Maybe it works after having fixed that typo