Fixed cost function. Completed the algo which uses repeates and tabu lists.