Homework 1 for 11-791