I have designed a function which will take a 2d array of rgb values and iteratively construct a list of all surrounding pixels of the same color. It works fine with smaller