Correct threads homework.