Created a new optimized version of genetic1 algorithm that uses
multiprocessing instead of threading