Harry Brook hit 114 not out as England set a tough total of 254. England bowled out Sri Lanka and won the cricket match by 119 runs.