Remove Colored Pieces if Both Neighbors are the Same Color

Remove Colored Pieces if Both Neighbors are the Same Color - Coding Problem | K5kC