Updated kNN to use Beam instead of BoundedPriorityQueue. Removed BPQ