SigTuple interview question

Python Matrix traversal questions and assignment work.