I have a dictionary of coordinate pairs and integers that go with those pairs. The first problem is that some of the points are negative.
{(0, 0): 1, (-1, -1): 2, (1, -1): 3, (1, 1): 4}
to
+---+---+---+
| 0 | 0 | 4 |
+---+---+---+
| 0 | 1 | 0 |
+---+---+---+
| 2 | 0 | 3 |
+---+---+---+
I believe I have to adjust all the pairs so they are greater than zero so I can use them as row, column pairs for a matrix. Then the insertion is the next. I believe that python only has nested lists not matrices so I would want a numpy array.