image resizer created, using python imaging library (PIL)