There is a few test cases which are missing in the question,So write a solution by your own so that it should pass the test cases which are not mentioned there also,,i am writing one test case here ...
The function spiral_2D_array is not using the parameter center. In the beamforming.py file you can find the function spiral_2D_array and the center parameter is not use.