Given an m x n board of 'X' and 'O', capture all regions that are 4-directionally surrounded by 'X'.
A region is captured by flipping all 'O's into 'X's in that region, but only if the region does not touch the border. Return the modified board.