basic tabu search, basic class for threading, not use