private int min(int a,int b, int c){
        int l = Math.min(a, b);
        return Math.min(l, c);
    }
http://www.geeksforgeeks.org/maximum-size-sub-matrix-with-all-1s-in-a-binary-matrix/
src/com/interview/dynamic/MaximumSizeSubMatrix.java