its a working program, need to add a seperate procedure for printing characters instead of having it in printRow