public static void checkDone(char[][] board, String p){
		
		Boolean end = false;
		
		for(int i = 0; i < board.length; i++){
			end = (board[i][0] == board[i][1] && board[i][1] == board[i][2] && board[i][1] != '-');
		}
		
		if(end){
			System.out.printf("Player %s wins! \n", p);
			System.exit(0);
		}
		
		for(int i = 0; i < board[0].length; i++){
			end = (board[0][i] == board[1][i] && board[1][i] == board[2][i] && board[1][i] != '-');
		}
		
		if(end){
			System.out.printf("Player %s wins! \n", p);
			System.exit(0);
		}
	}