Change kattis function in main to take arbituary TSPsolvers

also fixed error in Node, where the first node is nodes[path[0]] as oppesed to just nodes[0]. Rookie mistake :p.
Merge branch 'master' of github.com:JonathanMurray/tsp