work on priority queue and node
priority q
rm head