Add print results to file functionality, calculate directions based off of Node path, minor fixes.