This is a pun on the word "squares". Squares are boring people who play it safe and aren't adventurous. "Squares" are also shapes. This joke is about geometry, the study of shapes. 
My advanced geometry class is full of squares .