Practice implementing concurrency and threading in code, and explain how and where you would use it.
Implement parallel_square(values, worker_count) using Python threads and a shared work queue. Return one square per input value in the same order, and ensure all worker threads finish before returning.
def parallel_square(values, worker_count):