Implemented Array class