Playing around with the PIL library for Python