title: Filling with few 0s in an identity matrix using python
body: <p>I want to fill an identity matrix with few 0s. I have <code>X,Y</code> coordinates <code>[(0, 0), (0, 1), (0, 2), (1, 2), (1, 3), (2, 3)]</code> and those coordinates should be 0s and others should be filled with 1.  </p>
  
  <p>This is for a shortest path problem. The algorithm  will output the shortest path  as coordinates</p>
  
  <pre><code>[(0, 0), (0, 1), (0, 2), (1, 2), (1, 3), (2, 3)]
  </code></pre>
  
  <p>How can I do this in python?</p>
  
  <p>Sample Input matrix <code>[4][4]</code></p>
  
  <pre><code>1 1 1 1
  1 1 1 1
  1 1 1 1
  1 1 1 1
  </code></pre>
  
  <p>Sample Output matrix <code>[4][4]</code></p>
  
  <pre><code>0 1 1 1
  0 1 1 1
  0 0 1 1
  1 0 0 1
  </code></pre>