added return values for array prototypes

array.add now returns true on success and false on failuer
same for array.remove