Parallel game of life implementation with pthreads and C++ for studies