public static void main(String args[])
    {
        if(args.length<2) {
            System.out.println("GA library");
            System.out.println("Usage:");
            System.out.println("   java -jar GAlib.jar <Algorithm> <input-file>");
            System.out.println("Lists of algorithms:");
            System.out.println(" - SGA: Simple Genetic Algorithm");
            System.out.println(" - TGA: Elitist Simple Genetic Algorithm");
        }
        else {
            if(args[0].equals("SGA")) {
                SGA al = new SGA(new File(args[1]));
                al.SGA();
            }
            else if(args[0].equals("TGA")) {
                TGA al = new TGA(new File(args[1]));
                al.run();
                //al.TGA();
            }
            else {
                System.out.println("Incorrect algorithm");
            }
        }
        
    }