Implemented array_slice()