Fast Game of Life using pthreads