Added grinder.py here and ignore BMP files. This grinder.py borrows from the OCRN project heavily in that it uses most of its code, condensed into one class.