Thanks for making these tutorials! I'm only familiar with Python and have no game dev experience, so going through your tutorials has been very helpful for me.
In terms of style/language, you have the words row/column backwards in the checkLevel() function: it should be rows=X and columns=Y