How The Beatles wrote their most ambitious song