
/* Adds objects specified in the arguments to the array & returns itself, similar to Array.push() */
Array.prototype.add = function(){
  for(var i = 0; i < arguments.length; i++){
    this.push(arguments[i]);
  }
  return this;
}

Array.prototype.empty = function(){
  return this.length == 0;
}
