Find Index Of Min Value In List Python Code For Snake