Added token type ERROR
Implemented _tokenizeLine