Large Python Code For Prime Numbers