Use arrays (or equivalent) in the design of solutions to simple problems.
Play around with the code, can you see what is happening?