Homework 4 Solutions

The Node is just a class. Since it does not have a constructor, its variables don't get initialized when it is created: You have to set them.