Travelling Salesman Problem Java Solution