Reuse .each for constructing singly linked list's to_s
Include heap implementation in python