Created an algorithm to check if no matches exist
When no matches are left the grid now flushes and recreates itself