Homework for CSCI3431 on Threads