public void setCells (){
       card = 0;//the front of the card
       for (int row=0; row<board.length;row++){
           for (int col=0; col<board[0].length;col++){
               {
               board[row][col]=new Card (words[card],card); // create a new card object
               card++;
               }
           }
       }
   }