Banker's Algorithm (C Language)