almost done for the condtions of sum of array size is odd