English rock star and guitarist and songwriter who with Paul McCartney wrote most of the music for the Beatles (1940-1980)