Connectivity check using DFS Algo

  1. 1) Click Check Connectivity button to find all lit squares connected to base squares
  2. 2) Click Randomize button to generate a new random pattern
  3. 3) Rinse and repeat