Added -g flag to Makefile by default to allow memory checking with Valgrind.