Fixing bugs, now example1,2,3 are running correctly.

I've changed the error in the parser to first calculate all the errors,
and only then print them. Also, if we have parsing error I've removed
the label because goto should not find it (according to the second
example).