homework 2 assignments for SoftDes