using ``heapq`` in GUI
replaced float ``1.0`` to str ``'1.0'`` for tkinter