travelling salesman problem javafx