Writing Matrix In Python Tutorial