Improve next_char: Use range pattern matching on char

I think it's better like that. By the way, as comparison is polymorphic, you could have removed the ```Char.code``` everywhere (even if it's not a good practice).
Is there something special to do for the 9 ?

PS: I cannot compile the project. I get:
```
Error: Unbound module Config
```