Added usage of option parser to implement option pie graph generation