Bluevine interview question

Convert single thread to multi threads