Using Switches To Implement Bankers Algorithm