Wrote Syntax checking class

Ditto