The S-Box
Build your own four-bit S-box. The page tests whether it is still reversible and still non-linear, then runs the cipher with it.
Test whether a lookup table is a bijection.
Measure how many output bits one input bit changes.
Apply the XOR test that separates a linear box from a non-linear one.
Explain why a linear S-box leaves the whole cipher linear.
Predict what a duplicated output does to decryption.