hw2.m