Update ArrayPartition.c