Given 3x3 grid (values sum=9), find min moves to make all cells=1. JSON 3x3 array.
Input: JSON 3x3 array.
Output: Integer.
Input: [[1,1,1],[1,1,1],[1,1,1]]
Output: 0
Explanation: Already uniform.Input: [[3,0,1],[0,2,0],[1,0,2]]
Output: 4
Explanation: 4 moves.Input: [[9,0,0],[0,0,0],[0,0,0]]
Output: 20
Explanation: All at (0,0).3x3 gridvalues sum=9