Update main.c

#define DEBUG was commented out, but still used in the code. Uncommenting it fixed it.