Added operator= to priority queue implementation.