Implemented mutex init and create