def __getitem__(self, coord):
        """Gets an individual element in the Matrix44.
        coord is a tuple of (row, column)

        eg. print Matrix44[2,3]

        """

        try:
            row, col = coord
            return self._m[row * 4 + col]
        except IndexError:
            raise IndexError( "Row and Column should be 0, 1, 2 or 3" )
        except __HOLE__:
            raise TypeError( "index should be two values containing"\
                            " the row and column" )
dataset/ETHPy150Open PythonProgramming/Beginning-Game-Development-with-Python-and-Pygame/Chapter 10/gameobjects/matrix44.py/Matrix44.__getitem__