[Example 2.2.3] In a $7 \times 7$ grid, select $k$ small squares such that the centers of any 4 points do not form the vertices of a rectangle.
Find the maximum value of $k$ that satisfies the above requirement.