Removed trailing whitespace. Added file load functionality and debugged the node list generator.