Add below procedures

1) Create consumer/producer thread
2) include thread interrupts for consumer/producer
3) include thread join code for waiting threads.