lex struct and functions functional

lex struct maintains the current text buffer.

lex_state is a state machine that calls state functions, or functions taking a lex struct and returning a pointer to a state function.
Merge branch 'master' of github.com:cptaffe/bf

github init readme/license/.gitignore