Create array_rotator.js

a function that takes an array of integers and returns that array rotated by N positions