Creating contact map from a PDB file

Something I wrote to make my own life a bit easier, but may be useful for some people who use contact maps, since I don't think there's a specific script that directly gives a contact map given a PDB input.