I have data in the form of:

```
A=B=11
A=C=6
A=D=5
B=C=19
B=D=17
C=D=6

```

But I'd like to convert this into this format:

```
graph= [[ 0, 10, 15, 20 ],
            [ 10, 0, 35, 25 ],
            [ 15, 35, 0, 30 ],
            [ 20, 25, 30, 0 ]]

```

How is this achieved? I'm aware of how multi-dimensional arrays work however constructing this matrix using python is quite confusing