Lights Out Puzzle Solver in the style of Mobile Piano from Roblox

(taken from DDO Vale Puzzle Solver and modified)