cs193p Assignment 4 ff