Problem Statement  
You have been given a rowsbycols chessboard, with a list of squares cut out. The list of cutouts will be given in a String[] cutouts. Each element of cutouts is a commadelimited lists of coords. Each coord has the form (quotes for clarity) "r c". If coord "r c" appears in an element of cutouts, it means that the square at row r column c (0based) has been removed from the chessboard. This problem will involve placing rooks on a chessboard, so that they cannot attack each other. For a rook to attack a target piece, it must share the same row or column as the target. Your method will return an int that will be the maximum number of rooks that can be placed on the chessboard, such that no pair of rooks can attack each other. Rooks cannot be placed on cut out squares. The cut out squares do not affect where the rooks can attack.  
Definition  
 
Constraints  
  rows will be between 1 and 300 inclusive.  
  cols will be between 1 and 300 inclusive.  
  cutouts will contain between 0 and 50 elements inclusive.  
  Each element of cutouts will contain between 3 and 50 characters inclusive.  
  Each element of cutouts will be a comma delimited list of coords. Each coord will be of the form "r c", where
 
  Each element of cutouts will not contain leading or trailing spaces.  
Examples  
0)  
 
1)  
 
2)  
 
3)  
 
4)  
