Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'.