Make drawPixels its own method for drawing an array of pixels in order defined by an array of locations