Homework 2 for Software Engineering