Support for python 3.x using pillow

Have verified that same modules are available in pillow, but was not able to verify due to unavailability of tesseract setup.Please test before pulling the code.