checking in homework 1 stuff, along with another example of threads in C