A syntax checker for function declaration and for-loops in C using Deterministic