Electronic Arts (EA), one of the biggest gaming companies in the world, has agreed a deal to sell the company for $55bn (£41bn).