rule of three for Node class (oops)