11-791 (Homework 2)