HuffmanNode and List of Nodes

Preparing for the huffman algorithm, now i have a node class that
implements a __cmp__ method to allow functions to sort lists of nodes.
get_list_from_dict returns a list of nodes that may be used in the core
of algorithm to keep lists sorted using bisect module.