Sum of All Submatrix Approach-1

Why I am not getting answer 16 while applying Brute force approcah . https://ide.codingblocks.com/s/211472

Check now.
In the pseudocode given in the lecture video, 1 x 1 matrix was not considered.