All-Ones Square Submatrix Count - Coding problem | OneNoughtOne