The points of this lattice $4\times 4 = 16$ points can be vertices of squares. [asy][asy] unitsize(1 cm); int i, j; for (i = 0; i <= 3; ++i) { draw((i,0)--(i,3)); draw((0,i)--(3,i)); } draw((1,1)--(2,2)--(1,3)--(0,2)--cycle); for (i = 0; i <= 3; ++i) { for (j = 0; j <= 3; ++j) { dot((i,j)); }} [/asy][/asy] Calculate the number of different squares that can be formed in a lattice of $100\times 100$ points.