exercise 35.2 using mouseX and mouseY to read the value of the pixel beneath the cursor