Deadlock-Avoidance This is a simple (it doesn't have some necessary checks) implementation of the banker algorithm for deadlock avoidance