Find Index Of Smallest Element In Array In Python