Matrix-Computation-Algorithm Codes for class Numerical Algorithm in Fudan. For the lightsout game, you may refer to my blog.