Updated Node class with comments.