Options parser written.

This is pretty cool :-)
Now prints nice messages, gives usage info. Should be easily extendable
to add new options.