Introducing gridChecker to check the completed row, columns, leftoright and righttoleft grid cells