Integer List To Array Python Index