Add details about gdb and valgrind to readme
Add DEBUG flag for debug output