LCS implementations with vanilla C, C+Pthreads, C+OMP and C+MPI