Ties in team scores will be eliminated by re-examining program robustness and style. All the programs have the same weight in the scoring. You can use more than one computer if you wish. The program will then output to the console whether or not it found the token in the line of text. Your solution must behave as shown in the example runs below.
Output is in boldface and input is italicized.
Suppose that an image is represented by a two-dimensional array of values where each value can either be black or white. Contiguous array elements that are black form a feature. Erasing a feature means to turn all the array elements of the feature to the value white. Your solution must use a function called eraseObject recursively to perform the erasing. The function eraseObject is passed the array as an argument and row and column positions as arguments.