Update ArrayPrototypes.js

Added swap() method