Create arrays.js

Initial import: arrays manipulation library