Create debug.hpp

new debug header containing useful macros and functions for debugging.