输入 是2D array, 只有 0 和 1, 要求返回最左边的1 的Column index
input:
0 0 0 1
1 1 1 1
0 1 1 1
output:
0
add on: randomly return the 最左边的 1 的 position (row, column)
input:
0 0 0 1
1 1 1 1
1 1 1 1
0 1 1 1
output:
0
in multiple runs, it could return either {1, 0) or (2, 0 )