Implements release method in Banker.java