Add __repr__ method to Node class.