Added example functions on array's methods.