Problem Statement  
Dominoes is a fun game that requires 28 pieces, each representing a different pair of numbers between 0 and 6, inclusive. Since the pieces are reversible, (1,6) is the same piece as (6,1), and there is only one piece of the form (x,x) for each x. The 28 pieces of dominoes are: (0,6) (0,5) (0,4) (0,3) (0,2) (0,1) (0,0) (1,6) (1,5) (1,4) (1,3) (1,2) (1,1) (2,6) (2,5) (2,4) (2,3) (2,2) (3,6) (3,5) (3,4) (3,3) (4,6) (4,5) (4,4) (5,6) (5,5) (6,6) The problem with dominoes is that you need at least two people to play, so magazines have invented a game that you can play on your own. In a board with 7 columns and 8 rows there are numbers from 0 to 6, inclusive. The goal of the game is to divide the board into 28 2x1 rectangles in such a way that each part corresponds to one of the pieces and each piece is represented exactly once in the divided board. When a magazine publishes an instance of the game (i.e., a board with the numbers), they want to ensure that it has a solution, and that the number of possible correct solutions is small so as to make the game more difficult. Given the board as a String[] with each character representing a number between 0 and 6, return the number of correct solutions that board has.  
Definition  
 
Constraints  
  board will contain exactly 8 elements.  
  Each element of board will contain exactly 7 characters.  
  Each character of each element of board will be a domino digit ('0''6').  
Examples  
0)  
 
1)  
 
2)  
