title: Write a function given a zero-indexed matrix A consisting of N rows and M columns of integers, returns the number of equilibrium points of matrix A
body: <p>Hey guys I am doing a question where I have to find a point in a Matrix A of N x M rows such that</p>
  
  <p>the sum of rows above the point is equal to the sum of row</p>
  
  <p>Consider this example</p>
  
  <pre><code>/**
   * A[0][0] = 2    A[0][1] = 7    A[0][2] =  5
   * A[1][0] = 3    A[1][1] = 1    A[1][2] =  1
   * A[2][0] = 2    A[2][1] = 1    A[2][2] = -7
   * A[3][0] = 0    A[3][1] = 2    A[3][2] =  1
   * A[4][0] = 1    A[4][1] = 6    A[4][2] =  8
   * @param matrix
   * @return
   */
  </code></pre>
  
  <p>In this example the if we look at the point A[1][1], it can be said that the row above (sum = 14) is equal to the sum of rows below the point. Can anyone help me on this?</p>