input: Write a Python function to extract the smallest integers from a specified list using the heapq module. 
  assert heap_queue_smallest([25, 35, 22, 85, 14, 65, 75, 25, 58], 3) == [14, 22, 25]
  assert heap_queue_smallest([25, 35, 22, 85, 14, 65, 75, 25, 58], 2) == [14, 22]
  assert heap_queue_smallest([25, 35, 22, 85, 14, 65, 75, 22, 58], 5) == [14, 22, 22, 25, 35]
output: def heap_queue_smallest(nums, n):
      import heapq
      return heapq.nsmallest(n, nums)