private void run(Scanner sc){
    legalMoves = new ArrayList<Integer>();
    init(sc);
    while(!m.win()){
      if(player) playUser(sc);
      else playComputer();
    }
    winner();
    System.out.println("Play again? Y or N");
    if (sc.next().equals("Y")) run(sc);
    
      
  }