Updated array.js

Removed the remove function as splice does exactly that.
Re-worked the del fucntion to remove a single element and
return it, instead of returning an array containing that
value.