Implemented create_pool, destroy_pool, pool_add_task, and semaphores. Compiles but hangs.