Find Substring Index Python