Insert Substring Into String Python Functions