Add min priority queue snippet