a little angular app with a distance matrix