How to implement a dynamic programming algorithms to TSP in Python?,A = [[(0) for i in range(n)] for j in range(2 ** n)]