Implemented python program to print prime numbers until the user stops asking for more. List of prime doubles for amortized performance costs.