Added part 2 code of threads