Find String Index In List Python Functions