Read a list of instructions from a file and to determine how many lights are on after all the structions have been applied. Using Test Driven development model for the assignment to develop a test, write a test and excute it then write code agian to make it pass.
For example:
Turn on 0,0 through 999,999 would turn on every lights
switch 0,0 through 999,0 would toggle the frist line of 1000 lights, turning off the ones that were on, and turn on the ones that were off.