Lights Out

Lights Out is a puzzle where you are given a x grid of buttonslights with some on and others off which you have to switch off all lights in the minimum number of moves as possible