Create syntax.c

syntax checker