specialized PriorityQueue for UInt8 and Uint16
added and tested watersheds for grid graphs