print the pixels that are worked on. Should now fix the code