It was The Beatles' toughest writing session