On the Generation of Prime Implicants