Ard chapter5

This is where the modulo operator is useful, the if can be replaced by: `j %= key.length();`.