the number of cols and rows are reversed
numRows must be equal 7 (Students)
numCols must be equal 3 (Exams)
suggestion solution:
in input.txt switch line number one with number two
line 26 in run2d.py
print(examGrades[2,3])
col_index 3 is out of range