wrote thread pool example (getting it to work next)