Created receiver and Processor process, change Clock package accordingly
Removed the Templates
Created receiver and Processor process, change Clock package accordingly
Removed the Templates
Changed biggerThan in TimeStamp to compareTo
Prepare to remove the Template
Merge branch 'Buffers' of https://github.com/HongHuangNeu/Distributed-Algorithm into Buffers

Conflicts:
	src/assignment1/Message.java
	src/assignment1/Process.java
	src/assignment1/Receiver.java
	src/assignment1/Sender.java
	src/assignment1/clock/TimeStamp.java
	src/assignment1/clock/VectorTimeStamp.java
Completely delete Template
Changed clock package
Changed a line
implement merge local buffer and "can deliver"
canDeliver
Try to get the final version, but some late messages are never delivered
This version seems to work!
The code for assignment 2. The behaviour is still strange
The code for assignment 2 is in package assignment2
assignment2
This version seems to work. I used deadlock detection and it seems that the problem is the infinite loop design in run(). The output for this version is like this: 4 processes each request critical section 5 times. The last one will only send 3 requests. We should come up with a better setting
The version with proper setting
This version pass the stress test of sending 1000 requests for tokens. the variable requestNum of Component class controlls the number of request