Added array method

Added array method and array usage.