Fixed make, added logic.c to makefile and logic.h to logic.c's top
It's usually nice to check if things compile before pushing