added new homework for coding the matrix