Demo of prime generating