Implemented basic Mandelbrot_pthreads