Python Find Minimum Index In Array