re-enabled the debug version of free() for checking memory leaks, updated .gitignore