1-D Candy Crush Engine

Logic for 1-Dimensional Candy crush Game to demonstarte how two similar adjacent blocks would crush each other.