 # Given a matrix of 0's and 1's.
 # Find the maximum size of square sub-matrix with all 1's.
 
 Example: 
          1 0 1 0
          0 1 1 0
          1 1 1 0
          0 1 0 0

 Output: 2, from [2,2] to [3,3].