Is it possible to write a method and declare something like
Node currentNode;
to "scan" through each nodes in the list, and saving to file. I guess I can use
import java.io.*;
to declare the necessary file stream variables.
Would really appreciate some ideas and tips on how to approach this problem.