import bin_heap as bh


class Priority(object):
    """docstring for priority"""
    def __init__(self):
        self.bin_heap = bh()

    def insert(self, item, rank):
        bh.push(item, rank)

    def pop(self):
        item = self.bin_heap.pop()
        return item

    def peek(self, item):
        return item

import bin_heap as bh


class Priority(object):
    """docstring for priority"""
    def __init__(self):
        self.bin_heap = bh

    def insert(self, item, rank):
        bh.push(item, rank)

    def pop(self):
        item = self.bin_heap.pop()
        return item

    def peek(self, item):
        return item

--- 
+++ 
@@ -4,7 +4,7 @@
 class Priority(object):
     """docstring for priority"""
     def __init__(self):
-        self.bin_heap = bh
+        self.bin_heap = bh()
 
     def insert(self, item, rank):
         bh.push(item, rank)
Fix typo; bin_heap will now properly instate
