moved unused code into different methods
got 7/10 on last part of TSP as well now :)