Darwin takes an $11 \times 11$ grid of lattice points and connects every pair of points that are 1 unit apart, creating a $10 \times 10$ grid of unit squares. If he never retraced any segment, what is the total length of all segments that he drew?

Let's think step by step and output the final answer within \boxed{}.
user