Prime numbers generation algorithms migrated to algo_class lib