Cleaned up node.print() and fixed lab5test logical bug.