attempted to solve Travelling Salesman Problem