Refactored Node class to allow it to have default value of None.
Use a heap to combine inputs of several files into another file in sorted order.