update Makefile, memset arrays in main.c