implement and test core array methods (gitindex, shape, etc.)