Added create_semaphore and semaphore_wait still need to implemeent signals
did not test