Algorithm and computer program to determine metric dimension of graph. (March 2020)