Working on TravellingSalesmanFactory class (still work-in-progress)