Homework for MAC0323 course.