ce120, homework 4