The pattern to follow to test the flood-fill functions

For iteration, the reason the source square is pulled from each
friendly/opponent container rather than just iterating through
all squares on a board is that there are no values in some of
the ray slots and doing so then results in an out-of-range error.