Prime numbers/Prime number generators

This code is used on Python3. The purpose of tqdm is to provide a nice progressbar for progress. It can be removed by replacing the second-to-last with and removing the first line.