OS Homework! DeadLock detection between processes and resources requested!
To run the file: compile the java files -> javac *.java .... To run the file as follow -> java DeadLock input0.txt
you may choose different file names to run!
output.txt has the result of the deadlock detecion for file input0.txt