Adding example, removing optparse from module.

Also, I added examples to the README

Signed-off-by: Cristian Maureira-Fredes <cmaurei@aei.mpg.de>