Replace pil with pillow

PIL is too old now, so replaced PIL with Pillow.
Merge pull request #4 from tarunbhardwaj/develop

Replace pil with pillow