Problem
1. Write a script to blend two images, ‘red.png' and ‘blue.png', using the PIL library.
2. Write a function to mirror the input picture's leftmost 20 pixels to pixels 20 to 40.
3. Using nested loops, write a function that reduces red in the top third of a picture and clears blue in the bottom third.