title: I want to make a hour glass out of the 2D array
body: <p>I am trying to form an hour glass of this 2D array</p>
  <p>1 1 1 0 0 0<br />
  0 1 0 0 0 0<br />
  1 1 1 0 0 0<br />
  0 0 2 4 4 0<br />
  0 0 0 2 0 0<br />
  0 0 1 2 4 0</p>
  <p>I want to make all the possible hour glass out to this 2D list which looks like this:<br />
  <a href="https://i.stack.imgur.com/sVoIL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sVoIL.png" alt="enter image description here" /></a></p>
  <p>and print the sum of each hour glass</p>
  <p>Note: I am using python3</p>