Queue Implementation for storing the Nodes for BT Operations