Algorithm for Primer Design -- Genetic Algorithms and Heuristic Rules for Solving the