I don\'t understand how I can properly use heapq module.
I realized that without transforming my list to a heap (without using heapify) I can still use other function