Short assignment to teach how we can use pthreads