Added createLexer() function.  Removed extern struct Lexer * variable.

Also added lexer parameter to getOptions().

The createLexer() function currently returns a static struct Lexer
variable.  Next step is to dynamically allocate the lexer.