Homework 4 - Matrix