Discussion 5 Reference links: http://www-inst.eecs.berkeley.edu/~cs61c/sp16/disc/4/Disc4.pdf http://shtech.org/course/ca/16s/hw/4/ http://shtech.org/course/ca/16s/discussions/Discussion_06.zip http://timmurphy.org/2010/05/04/pthreads-in-c-a-minimal-working-example/