<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def display(self):
        '''Displays the word cloud to the screen.'''
        pygame.init()
        self.display = pygame.display.set_mode((self.width,self.height))
        self.display.blit(self.cloud,(0,0))
        pygame.display.update()
        while True:
            for event in pygame.event.get():
                if event.type == pygame.QUIT:
                    pygame.quit()
                    return