add the unique method to the prototype of Array object.