added -ggdb flag to makefile; fixed multiple inclusion issue with headers; fixed filtering