input: Write a function to generate an RSA public/private key pair and store them in files named 'public.pem' and 'private.pem' respectively. The function should not take any input parameters and should perform the key generation and file storage automatically.
  assert generate_key_pair() is None
output: 
  def generate_key_pair():
      from cryptography.hazmat.primitives.asymmetric import rsa
      from cryptography.hazmat.primitives import serialization
  
      private_key = rsa.generate_private_key(
          public_exponent=65537,
          key_size=2048
      )
  
      public_key = private_key.public_key()
  
      with open("private.pem", "wb") as f:
          f.write(private_key.private_bytes(
              encoding=serialization.Encoding.PEM,
              format=serialization.PrivateFormat.PKCS8,
              encryption_algorithm=serialization.NoEncryption()
          ))
  
      with open("public.pem", "wb") as f:
          f.write(public_key.public_bytes(
              encoding=serialization.Encoding.PEM,
              format=serialization.PublicFormat.SubjectPublicKeyInfo
          ))
  