Array example for rosettacode

[skip ci]