Java implementation of traveling salesman problem using genetic algorithm