PriorityQueue Implementation

ToDo:
	verify code
	optimize code
	comment code