Implementing the ant colony optimisation heuristic for the Travelling Salesman Problem