Multithread project for CS214