Added implematation and use of Methods of Array class