refactored tsp model. feature "read problem" added with tester case.