Banker's Algorithm

Running in OS X Terminal
Other OS, no guarantee of running this program