Removed print statement in pixel checking loop