Finished Challenge4. Added inline comments. Removed the need for a Node
class.