Implemented task parallelism. Implemented generated numbers simplification.