public Player checkDiagsWin(){
        if (field.getCell(0,0).getPlayer()!= null &&
                field.getCell(0,0).getPlayer() == field.getCell(1,1).getPlayer() &&
                field.getCell(0,0).getPlayer() == field.getCell(2,2).getPlayer()) {
            return  field.getCell(0,0).getPlayer();
        }else if (field.getCell(0,2).getPlayer()!= null &&
                field.getCell(0,2).getPlayer() == field.getCell(1,1).getPlayer() &&
                field.getCell(0,2).getPlayer() == field.getCell(2,0).getPlayer()) {
            return  field.getCell(0,2).getPlayer();
        }else return null;
    }