Well, i think, you must understand what comments mean. Do you have any turnOn function?
If yes, this function will must taking two parameters, row and column. Just pass them to the function. And...