adding Makefile
producer/consumer thread functions