change image function

I want to test my code with the python function and I change the js in src/lib/image
```
import image
//CREATE AN IMAGE FROM A FILE
img = image.Image("arch.jpg")
// CLEAR THE RED FROM ALL PIXELS
pixelList = img.getPixels()
count = 0
for p in pixelList: 
        p.setRed(0)
        img.setPixelAt(count,p)
	count+=1
win = image.ImageWin()
img.draw(win)
```
but the current problem is that the array I return does not contain the right pixel.
Any suggestions will be appreciated
there's no `getPixels` in the original PIL Image module so maybe you should make this private? (not assign it to `$loc`)