making a descent token finish detection, closes #6, fixes #2

error at the beggining
Merge branch 'master' of github.com:joao-sallaberry/compiladores

Conflicts:
	lexer.c

dont know why there was a conflict...