Added PageSegMode, SetVariable, SetRectangle...

Also refactored the example program and added a new image
Merge pull request #8 from robertmeta/master

Added PageSegMode, SetVariable, SetRectangle...