Brute force solution to the traveling sales person problem.