Implementation of AntInsert heuristic