Detecting And Correcting Syntax Errors