added flags to OptParse
added flags to example.cpp
added flags to README
Version bumb to 1.0.2