Added error handler to the parser. Syntax errors will be stored in the error list. Again the threshold for the error list is three. The program will terminate with a list of error if the list size is greater than and equal to 3.