Synthesis of Medium Ring Heterocycles by Directed C-C Bond Activation