6.865 Assignment 4