Square number exercise.