Solutions to Coding the Matrix Labs and Homeworks