Stanford CS193p Assignment 6