Assignment 2 for Stat 221