homework stub
matrix class stub