Replace massive conditionals with array lookups.

- Rename functions to be more descriptive.
- Fix error where if a letter was not checked, it returned true, even if it was invalid.
Remove code generator that generated all those conditionals.
Remove pointless files (probably used for WIP).

--HG--
extra : histedit_source : d9bd68b33faa823aeb7bc05e0ae85d7f384e72db
Remove superfluous index variable.