Completed tsp solver function, Added demo button

need to improve demo