changed the code to call scheduler functions. compiling and test case 1 running successfully.
implemented test cases for mutex. commented my changes.