Added in code for multithreading

Added multithreading code.  For some reason it automatically timeouts as
soon as the tournament starts.