Assignment 1 for 6.837