Using Queue (PriorityQueue) as moves generation container