Updateing .gitignore
Fix lexer and applies tests in some cases.