Add __repr__ method to new Node class