Begging of semantic analysis implementation.
Fixed stupid bug in Lex file