Added array_reindex() function