Code:
String chart1 [11][11] = // Array for the Table and Plot points
{"London", "Bath", "Cardiff", "Carlisle", "Durham", "Exeter", "Leeds", "Norwich", "Truro", "York"},
{"London", "-", "23", "12", "89", "456", "123", "46", "732", "345", "123"},
{"Bath", "23", "-", "46", "234", "123", "46", "89", "234", "567", "90"},
{"Cardiff", "12", "46", "-", "767", "456", "46", "234", "123", "732", "35"},
{"Carlisle", "89", "234", "767", "-", "732", "32", "48", "67", "98", "100"},
{"Durham", "456", "123", "456", "732", "-", "234", "46", "89", "89", "732"},
{"Exeter", "123", "46", "46", "32", "234", "-", "123", "46", "123" "234"},
{"Leeds", "46", "89", "234", "48", "46", "123", "-", "46", "89", "19"},
{"Norwich", "732", "234", "123", "67", "89", "46", "46", "-", "123", "732"},
{"Truro", "345", "567", "732", "98", "89", "123", "89", "123", "-", "78"},
{"York", "123", "90", "35", "100", "732", "234", "19", "732", "78", "-"};
and it is outputed using this