Added code to actually write heuristic.h. list functions appear to be
functional, but not certain why we're only iterating through one layer of
the tree before stoping.

still need to debug that...progress has been made though!