input: Write a python function to initialize a pygame window and quit the game loop when the window is closed.
  assert init_pygame_window(800, 600) == 'Window initialized and game loop running. Quit successful.'
  assert init_pygame_window(1024, 768) == 'Window initialized and game loop running. Quit successful.'
  assert init_pygame_window(640, 480) == 'Window initialized and game loop running. Quit successful.'
output: def init_pygame_window(width, height):
      import pygame
      pygame.init()
      screen = pygame.display.set_mode((width, height))
      pygame.display.set_caption("Pygame Window")
  
      running = True
      while running:
          for event in pygame.event.get():
              if event.type == pygame.QUIT:
                  running = False
  
      pygame.quit()
      return 'Window initialized and game loop running. Quit successful.'