Banker algorithm c language implementation code