Modified HeuristicList to select a heuristic randomly.