potential cost calculation fix:
	added checks for cases where we swap cities that are right after another in the path