Updated LOGIC.h, test.c