Changed os._exit() to pygame.quit()

This means the program closes when executed in Linux instead of just
remaining on the screen.