function [] = plot_tour(X, Y)

x_min = min(X);
x_max = max(X);
y_min = min(Y);
y_max = max(Y);
x_eps = abs(x_min-x_max)/2;
y_eps = abs(y_min-y_max)/2;

scatter(X,Y, 'filled');
xlim([x_min-x_eps x_max+x_eps]);
ylim([y_min-y_eps y_max+y_eps]);
title(sprintf('Cost = %.2f', tour_dist([X Y])));
line(X,Y);
line([X(end) X(1)], [Y(end) Y(1)], 'Color', 'red')

