Add logic to check matching gems when board is coming together / after match is done.

Add logic to check matching gems when board is coming together / after
match is done.