Google agrees to start paying for news content