Python Find Multiple Substring Function