a java implementation of genetic algorithms