Concurrent Threads: CSCI 340 Homework 4