Compiler binary usage

I fixed a bit the main.ml file to show nice error messages instead of crashing because of basic issues of the binary usage.