Basic function of semaphore is done

Currently, there are 188 asserts in test suites