public static void main(String args[]) {
        String[] new_args = null;
        String chromosome = "";
        boolean train = false;
        if (args.length > 0) {
            for (int i = 0; i < args.length; i+=2) {
                if(args[i].contentEquals("-chromosome")) {
                    chromosome = args[i+1];
                }
                if(args[i].contentEquals("-training") && args[i+1].contentEquals("true")) {
                    train = true;
                    new_args = new String[] {"-name", "Bratin", "-join", "localhost"};
                }
                else if (args[i].contentEquals("-training")){
                    new_args = new String[] {"-name", "Bratin"};
                }
            }
            if(new_args == null) {
                new_args = new String[]{"-name", "Bratin"};
            }
        } else {
            new_args = new String[] {"-name", "Bratin"};
            try {
                BufferedReader reader = new BufferedReader(new FileReader(bestChromosomeFilename));
                chromosome = reader.readLine();
                reader.close();
            } catch (Exception e) {
                System.out.println("Error no File for chromosome.");
                StringBuilder s = new StringBuilder();
                for (int i = 0; i < chromosomeLength; i++) {
                    s.append('1');
                }
                chromosome = s.toString();
            }
        }
        BriJadam bot = new BriJadam(new_args, chromosome, train);
    }