Write a function that takes a grid as input, and returns the corresponding cluster
grid. Hint: Using recursion in combination with the function you wrote in 1c) may be a
good idea here. Use the data you saved in 1f ) to visualize the grid and the corresponding
cluster grid side-by-side.
Write a function that takes a grid as input, and returns the corresponding cluster grid. Hint: Using recursion in combination with the function you wrote in 1c) may be a good idea here. Use the data you saved in 1f ) to visualize the grid and the corresponding cluster grid side-by-side.