Paralleling with Threads