Update ArrayPrototypes.js

Added next() and prev() methods