public static void main(String[] args) {
        Object[] options = {"O","X"};
        int n = JOptionPane.showOptionDialog(null,"Would you like to be X's or O's?","Tic-Tac-Toe",JOptionPane.YES_NO_OPTION,JOptionPane.QUESTION_MESSAGE,null,options,options[0]);
        if(n==1) {
            play="X";
            comp="O"; 
        }
        else {
            play="O";
            comp="X";
        }
        Object[] option = {"Yes","No"};
        int k = JOptionPane.showOptionDialog(null,"Would you like to go first?","Tic-Tac-Toe",JOptionPane.YES_NO_OPTION,JOptionPane.QUESTION_MESSAGE,null,option,option[0]);
        if(k==1) {
        	JOptionPane.showMessageDialog(null,"You will go second.\nGood Luck!");
            TicTacToe G = new TicTacToe();
            G.computer();
        }
        else{
        JOptionPane.showMessageDialog(null,"You will go first.\nGood Luck!");
        new TicTacToe();
            }
    }