Create getmatrix.py

this program gets the values of matrix and prints it