Adds new  methods to the Array.prototype