Shortest path calculator using a bipartite to unipartite transformation and the Breadth First Search algorithm and exhaustive search algorithm