PriorityQueue data structure addAll() updated
Revert "PriorityQueue data structure addAll() updated"

This reverts commit c7f5710c7188fe1d4030d9447fae84bf7e857998.