Implement NFA to DFA generator

Also sorts LexerInput as consistency measure for tests.
A couple of more tests.

Sort LexerInput the ascending. Increase the length of LexerInput.any()
value so it doesn't conflict with character inputs.