update python version and second trial of maximum-subarray