Group 11 - !nfinity

(Kartik Singhal, 150050025) (Pranay Agrawal, 150050026) (Nilesh Gupta, 150050059)

Student 1: 100%
Student 2: 100%
Student 3: 100%

I pledge on my honour that I have not given or received any unauthorized assistance on this assignment or any previous task.

Citations:
http://stackoverflow.com
www.gnu.org/software/octave/doc/v4.0.0
http://in.mathworks.com/help/matlab/
http://www.wolframalpha.com/
http://en.flossmanuals.net/
http://www.dm.unibo.it/~lenci/teaching/14/maa/octavetut.pdf
http://www.gnu.org/software/octave/octave.pdf

Reflections:
1. Learnt Octave-
				Writing functions in octave
				writing for and if loops
			
2. Learnt the mathematical reasoning behind lightsout problem
3. Learnt Light Chasing algorithm for solving lightsout problem

B1-lookup_solve_3.m
The function takes a 3*3 matrix in initial state and returns a 3*3 matrix which denotes which switches are to be pressed.
It uses another function toggle inside it which is defined separately.
toggle(a,x) -> returns the matrix situation of matrix a of order 3*3 after switch x is pressed
Switches: 1 4 7
	  2 5 8
	  3 6 9

B2-final_state_3.m
The function takes two 3*3 matrix i & a. i denotes the initial state of lights and a denotes the action matrix.
It ouputs the final state of the matrix
