Session09

I would invert things here so that you check the modulo of 3 *before* you bother to calculate the square.  Why work out that problem every time if you only need to have the value once in three iterations?