Refactorized into: sequential, openmp. Tried for omp for pragma